home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 24
/
Aminet 24 (1998)(GTI - Schatztruhe)[!][Apr 1998].iso
/
Aminet
/
dev
/
misc
/
vahunz.lha
/
vahunz
/
example
/
older.c
< prev
next >
Wrap
C/C++ Source or Header
|
1998-02-09
|
367b
|
20 lines
/*
* older.c - functions to let a person grow older
*/
#include <stdio.h>
/* This will include the prototypes, so they will be validated.
* The program would also compile without this include, but it
* is good style to have it here. */
#include "older.h"
void grow_older(char *name, int *age)
{
printf("%s grows older.\n", name);
*age = *age + 1;
}